package edu.utn.frba.procesamiento.grupo3.audio.algoritmos.mediaMovil;

import java.io.File;
import edu.utn.frba.procesamiento.grupo3.audio.NRMediaMovilSignal;
import edu.utn.frba.procesamiento.grupo3.audio.algoritmos.NRAbstractAlgorithm;

public class NRMediaMovilAlgorithm extends NRAbstractAlgorithm {

	public NRMediaMovilAlgorithm(File sampleRecord, String outFileName) {
		super(sampleRecord, null, outFileName);
	}
	
	public NRMediaMovilAlgorithm() {
	}

	@Override
	protected double[] execute(double[] signal, double[] noise) {
		return NRMediaMovilSignal.getMediaMovilSignal(signal);
	}

}
